package com.lhgray.sglhome.domain.model

/**
 * {
 *   "code": 200,
 *   "message_cn": "数据载入成功",
 *   "message_en": "Data Load Successfully",
 *   "data": {
 *     "source": {
 *       "source_table": "ai_hbl_profile",
 *       "source_id": 14214,
 *       "update_user": "",
 *       "update_date": null
 *     },
 *     "list_item_label": [
 *       {
 *         "show_title": "HAWB #",
 *         "item_type": 10,
 *         "item_text": "112-19147645",
 *         "sort_by": 10
 *       },
 *       {
 *         "show_title": "Customer Ref#",
 *         "item_type": 20,
 *         "item_text": "",
 *         "sort_by": 20
 *       },
 *       {
 *         "show_title": "Customer",
 *         "item_type": 30,
 *         "item_text": "ZHEJIANG JINLIAN INTERNATIONAL LOGISTICS CO., LTD",
 *         "sort_by": 30
 *       }
 *     ],
 *     "list_item_text": [
 *       {
 *         "show_title": "Whse Location",
 *         "item_type": 10,
 *         "item_text": "",
 *         "sort_by": 10
 *       },
 *       {
 *         "show_title": "Pallet Count",
 *         "item_type": 20,
 *         "item_text": "0",
 *         "sort_by": 20
 *       }
 *     ],
 *     "list_item_operation": [
 *       {
 *         "show_title": "CES Pickup",
 *         "item_type": 10,
 *         "check_flag": 0,
 *         "check_by": "",
 *         "qty": 0,
 *         "check_date": null,
 *         "sort_by": 10
 *       },
 *       {
 *         "show_title": "CES Release",
 *         "item_type": 20,
 *         "check_flag": 0,
 *         "check_by": "",
 *         "qty": 0,
 *         "check_date": null,
 *         "sort_by": 20
 *       }
 *     ],
 *     "list_item_status": [
 *       {
 *         "show_title": "PMC break down",
 *         "item_type": 10,
 *         "check_flag": 0,
 *         "check_by": "",
 *         "check_date": null,
 *         "sort_by": 10,
 *         "lon": 0,
 *         "lat": 0
 *       },
 *       {
 *         "show_title": "Whse Available",
 *         "item_type": 20,
 *         "check_flag": 0,
 *         "check_by": "",
 *         "check_date": null,
 *         "sort_by": 20,
 *         "lon": 0,
 *         "lat": 0
 *       },
 *       {
 *         "show_title": "Handover",
 *         "item_type": 30,
 *         "check_flag": 0,
 *         "check_by": "",
 *         "check_date": null,
 *         "sort_by": 30,
 *         "lon": 0,
 *         "lat": 0
 *       },
 *       {
 *         "show_title": "OP Finish",
 *         "item_type": 50,
 *         "check_flag": 0,
 *         "check_by": "",
 *         "check_date": null,
 *         "sort_by": 50,
 *         "lon": 0,
 *         "lat": 0
 *       }
 *     ]
 *   }
 * }
 */
data class WarehouseBean(
    var source: Source? = null,
    var list_item_label: MutableList<ListItemLabel> = mutableListOf(),
    var list_item_text: MutableList<ListItemText> = mutableListOf(),
    var list_item_operation: MutableList<ListItemOperation> = mutableListOf(),
    var list_item_status: MutableList<ListItemStatus> = mutableListOf(),

    )


data class ListItemText(
    val show_title: String = "",
    val item_type: Int = 0,
    val item_text: String = "",
    val sort_by: Int = 0,
)

data class ListItemOperation(
    val show_title: String?,
    val item_type: Int?,
    val check_flag: Int?,
    val check_by: String?,
    val qty: Int?,
    val check_date: String?,
    val sort_by: Int?,
)

data class ListItemStatus(
    val show_title: String?,
    val item_type: Int?,
    val check_flag: Int?,
    val check_by: String?,
    val check_date: String?,
    val sort_by: Int?,
    val lon: Double?,
    val lat: Double?,

    )